//
//  BN_ClassParentDynamic.h
//  BabyNow
//
//  Created by 刘泽琛 on 14-3-28.
//  Copyright (c) 2014年 iMobile. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "AppMacro.h"
#import "NotificationMacro.h"
#import "BN_DynamicClassData.h"


typedef void(^ClassOrParentListChange)(BOOL isChange);

@interface BN_ClassParentDynamic : UIView

@property (nonatomic, strong) UIView *backgroundView;

/**
 *  班级动态/家长动态 按钮Badge;
 */
@property (nonatomic) NSInteger badge;

/**
 *  班级动态/家长动态 按钮
 */
@property (nonatomic, strong) UIButton *classBtn;
@property (nonatomic, strong) UIButton *parentBtn;

/**
 *  addsub 班级动态/家长动态 按钮 的底层UIView
 */
@property (nonatomic, strong) UIImageView *buttonImageView;

/**
 *  班级动态和家长动态列表
 */
@property (nonatomic, strong) ClassOrParentListChange listChange;

/**
 *  加载 班级动态/家长动态 UIView
 */
- (void)loadBtnView;

/**
 *  班级动态/家长动态 按钮 选中状态
 */
- (void)bottonClickState;

- (void)dynamicClassParentChange:(ClassOrParentListChange)listChange;

@end
